package com.example.yiqiuser.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Date;

/**
 * @ fileName:User
 * @ description:
 * @ author:xjd
 * @ createTime:2023/3/27 19:57
 * @ version:1.0.0
 */
@Data
public class User {
    private int userId;        //用户ID
    private int deptId;        //部门ID
    private String loginName;  //登录账号
    private String userName;   //用户昵称
    private String userType;   //用户类型
    private String email;      //用户邮箱
    private String phoneNumber; //用户电话
    private String sex;           //用户性别
    private String avatar;      //头像路径
    private String avatarname;      //头像名称
    private String password;    //密码
    private String salt;        //盐加密
    private String status;        //账号状态( 0正常，1停用)
    private String delFlag;       //删除标志( 0代表存在，2代表删除)
    private String loginIp;     //最后登录IP
    private String loginDate;     //最后登录时间
    private String createBy;    //创建者
    private String createTime;    //创建时间
    private String updateBy;    //更新者
    private String updateTime;    //更新时间
    private String remark;      //备注
    private int roleId;     //角色ID
    private ArrayList roleIds;

}
